package com.tom.tommessenger3.db;

import android.provider.BaseColumns;
import com.tom.tommessenger3.Message;

public class MessageDatabase {

	public static final class CreateDB implements BaseColumns{
		/*
		public static final String NAME = "sender_name";
		public static final String CONTACT = "contact";
		public static final String EMAIL = "email";
		*/
		public static final String _TABLENAME = "tommessage";
		public static final String _CREATE = 
			"create table "+_TABLENAME+"(" 
					+ _ID + " integer primary key autoincrement, " 	
					+ Message.SENDER_NAME + " text not null , " 
					+ Message.SENDER_NUMBER + " text not null , " 
					+ Message.MESSAGE_BODY + " text not null , " 
					+ Message.ISSUE_DATE + " text not null , " //)";//, "
					+ Message.READ + " integer default 0 )";
	}
}

